package C9_6_ReplaceConditionalWithPolymorphism;

/**
 * @author xugang1
 * @updated 2022/7/25
 * @description 以多态取代条件表达式
 */

public class Salesman extends EmployeeType{
    /**
     * 重构前
     */
    int getTypeCode(){
        return Employee.SALESMAN;
    }
}